package com.liaoban.app.helper;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by ybc on 2017/7/31.
 */

public class ToastHelper {

    public static void show(Context context, CharSequence text) {
        Toast.makeText(context, text, Toast.LENGTH_SHORT).show();
    }

    public static void show(Context context, int res) {
        Toast.makeText(context, context.getString(res), Toast.LENGTH_SHORT).show();
    }
}
